/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       buy_building_window.h

	$Header: /game/buy_building_window.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef BUY_BUILDING_WINDOW_H_INCLUDED
#define BUY_BUILDING_WINDOW_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "button_group.h"
#include "material_display.h"

class t_town;
enum  t_town_building;
// -------------------------------------------------------------------
// dialog for purchasing buildings in town
// -------------------------------------------------------------------
class t_buy_building_window : public t_window
{
public:
	t_buy_building_window( t_town* town, t_window* parent );

protected:
	void building_click( t_button*, int building );
	void close_click( t_button* );
	void create_buttons( t_window* background );
	void describe_building( t_button *button, int building );
    void disabled_building_click( t_button*, int building );

	t_town*            m_town;
	t_bitmap_group_ptr m_interface;
	t_material_display m_material_display;
	t_bitmap_group_ptr m_thumbnails;
};

#endif // BUY_BUILDINGWINDOW_H_INCLUDED
